/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.CommonAttributes;

/**
 * The main body of an HTML document where all of the content is placed. 
 * You must use this element and it should be used just once. 
 * It must start immediately after the closing head tag and end 
 * directly before the closing html tag.
 * 
 * <h2>Example</h2> <pre><code class="html">
 * &lt;html&gt;
 * &lt;head&gt;
 * &lt;/head&gt;
 * <strong>&lt;body&gt;</strong>
 * [a whole load of stuff]
 * <strong>&lt;/body&gt;</strong>
 * &lt;/html&gt;
 * </code></pre>
 *
 * @see Head
 * @see Html
 *
 * @author sergio.valdez
 */
public class Body extends CommonAttributes{

    /**
     * Execute some script when the page is completly loaded.
     */
    private String onload;

    /**
     * Execute some script when the page is completly loaded.
     * @return the onload
     */
    public String getOnload() {
        return onload;
    }

    /**
     * Execute some script when the page is completly loaded.
     * @param onload the onload to set
     */
    public void setOnload(String onload) {
        this.onload = onload;
    }

}
